<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			function fun(b){
				
			}
		</script>
	</head>
	<body>
		name:"zhangsan",
		sex:"男",
		<script>
			var a = 10;

			var c = [1,2,3];
			//alert(c[0]);
			
			var d = {
				name:"zhangsan",
				sex:"男",
				fun:function(){
					alert("调用输出函数，显示名字为"+this.name+",性别为"+this.sex)},
				};
			d.fun();
			
			
		</script>
	</body>
</html>
